package com.ecahack.busstop.utils;

import java.util.ArrayList;
import java.util.Calendar;
import java.util.Random;

import com.ecahack.busstop.data.BusStop;


public class Mock {
	
	public static ArrayList<BusStop> getStreets(int count){
		
		ArrayList<BusStop> buss = new ArrayList<BusStop>();
		Random rand = new Random();
		for(int i =0 ;i <count; i++ ){
			BusStop bus = new BusStop();
			bus.setId(Calendar.getInstance().getTimeInMillis());
			bus.setAddress("ვ�?ჟ�? ფშ�?ველ�?ს 41, დელისის მე�?რე �?მ�?ს�?სვლელთ�?ნ");
			bus.setDistance(rand.nextFloat());
			bus.setBuses("" + rand.nextInt(100) + ","+rand.nextInt(100)+"," + rand.nextInt(100));
			bus.setLocationId(rand.nextInt(10000) + "");
			bus.setLatitude(rand.nextDouble() * 180);
			bus.setLongitude(rand.nextDouble() * 180);
			buss.add(bus);
		}
		return buss;
	}
}
